package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Payment;

/**
 * @author timiv
 */
public interface PaymentService {

    /**
     * @param payment payment
     * @return
     */
    int create(Payment payment);

    /**
     * @param id id
     * @return
     */
    Payment getPaymentById(Long id);
}
